package cn.wolfcode.luowowo.comment.repository;

import cn.wolfcode.luowowo.comment.domain.ScenicspotComment;
import cn.wolfcode.luowowo.comment.domain.TravelComment;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IScenicspotCommentRepository extends MongoRepository<ScenicspotComment,String>{
    List<ScenicspotComment> findByHasImg(boolean b);

    List<ScenicspotComment> findByCommentLike(String landmark);

    List<ScenicspotComment> findByUserId(Long id);
}
